package com.jc.subject.domain.handler;

import com.jc.subject.common.enums.SubjectTypeFlagEnum;
import com.jc.subject.domain.entity.SubjectInfoDO;
import com.jc.subject.domain.entity.SubjectOptionDO;

/**
 * @Author gongjiawei
 * @Date 2024/7/9 14:27
 * @注释
 */
public interface SubjectStrategy {
    public SubjectTypeFlagEnum getcode();
    public void add(SubjectInfoDO subjectInfoDO);

    SubjectOptionDO  query(int subjectId);
}
